package cn.gene.timeyan.pojo.ums.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * VIP相关数据*
 *
 * @author LWG
 * @date 2022/7/22 20:46
 * @since 1.0.0@gene.cn
 */
@Data
public class VIPDTO implements Serializable {
    /*Vip 表（vip 详细信息）ums_vip*/
    /*Vip 表（vip 详细信息）ums_vip*/
    //属性
//    @ApiModelProperty(value="vipID",required = false)
//    private Long vipId;

    private LocalDateTime now;

    @ApiModelProperty(value="用户ID",required = true)
    @NotNull(message = "不允许为空")
    private Long userId;


    @ApiModelProperty(value="开通时长30天",required = true)
    private Long time;

    @ApiModelProperty(value="是否续费",example = "0",required = false)
    //0:不续费  1:续费
    private Integer state;
}
